#!/usr/bin python
# -*- coding: utf-8 -*-
'''
@Author: HornLive
@Time: 09 28, 2021
'''

Startard_Info = {
    "H2O2":{
        "52BA92":{"grade":"-"
                     ,"color":""
                     ,"value":4.1}

        ,"ABD2C0":{"grade":"-"
                     ,"color":""
                     ,"value":4.4}
        #add
        ,"87B38C":{"grade":"-"
                     ,"color":""
                     ,"value":4.4}


        ,"C2E0D5":{"grade":"+-"
                     ,"color":""
                     ,"value":4.6}
        ,"A4D3BC":{"grade":"+-"
                     ,"color":""
                     ,"value":4.6}
        ,"BECE9F":{"grade":"+-"
                     ,"color":""
                     ,"value":4.6}

        ,"FAF7F2":{"grade":"+"
                     ,"color":""
                     ,"value":4.8}
        ,"FFFFFF": {"grade": "+"
                        , "color": ""
                        , "value": 5.1}
    }
    ,"LE":{
        "FFFFFF":{"grade":"-"
                     ,"color":""
                     ,"value":4.1}
        ,"FAF7F2":{"grade":"-"
                     ,"color":""
                     ,"value":4.4}
        ,"FAE8F2":{"grade":"+-"
                     ,"color":""
                     ,"value":4.6}


        ,"E7C6DD":{"grade":"+"
                     ,"color":""
                     ,"value":4.8}
        , "C081B1": {"grade": "+"
                        , "color": ""
                        , "value": 5.1}
    }
    , "SNA": {
        "FFFFFF": {"grade": "-"
            , "color": ""
            , "value": 4.1}
        , "FAF7F2": {"grade": "-"
            , "color": ""
            , "value": 4.4}
        # #add
        # , "78C7BF": {"grade": "-"
        #             , "color": ""
        #             , "value": 4.4}


        , "CFE5D9": {"grade": "+-"
            , "color": ""
            , "value": 4.6}
        #add
        , "ACCDBB": {"grade": "+-"
            , "color": ""
            , "value": 4.6}



        ,"ABD2C0": {"grade": "+"
            , "color": ""
            , "value": 4.8}
        , "97B7C7": {"grade": "+"
            , "color": ""
            , "value": 5.1}
    }
    , "PIP": {
        "FFFFFF": {"grade": "-"
            , "color": ""
            , "value": 4.1}
        , "FAF7F2": {"grade": "-"
            , "color": ""
            , "value": 4.4}
        #add
        # ,"BAB7A5": {"grade": "-"
        #     , "color": ""
        #     , "value": 4.4}
        # ,"C1C0A4": {"grade": "-"
        #             , "color": ""
        #             , "value": 4.4}

        , "FDF8A5": {"grade": "+-"
            , "color": ""
            , "value": 4.6}
        , "FCF353": {"grade": "+"
            , "color": ""
            , "value": 4.8}



        , "F8DC4B": {"grade": "+"
            , "color": ""
            , "value": 5.1}
    }
    , "NAG": {
        "FFFFFF": {"grade": "-"
            , "color": ""
            , "value": 4.1}
        , "FAF7F2": {"grade": "-"
            , "color": ""
            , "value": 4.4}
        #add
        , "CEC4B9": {"grade": "-"
                    , "color": ""
                    , "value": 4.4}




        , "FBEDEF": {"grade": "+-"
            , "color": ""
            , "value": 4.6}
        # add
        , "BBAF9F": {"grade": "+-"
            , "color": ""
            , "value": 4.6}
        ,"D0B6A9": {"grade": "+-"
            , "color": ""
            , "value": 4.6}
        ,"DABCC1": {"grade": "+-"
                    , "color": ""
                    , "value": 4.6}


        , "F8E0E4": {"grade": "+"
            , "color": ""
            , "value": 4.8}
        # add
        , "BFA5A9": {"grade": "+"
                    , "color": ""
                    , "value": 4.8}
        ,"DCAAB8": {"grade": "+"
                    , "color": ""
                    , "value": 4.8}



        , "F4D7E5": {"grade": "+"
            , "color": ""
            , "value": 5.1}
    }
    , "OA": {
        "FFFFFF": {"grade": "-"
            , "color": ""
            , "value": 4.1}
        , "E7E9EC": {"grade": "-"
            , "color": ""
            , "value": 4.4}
        , "BFC2DB": {"grade": "+-"
            , "color": ""
            , "value": 4.6}
        # add
        , "B5B4C0": {"grade": "+-"
                    , "color": ""
                    , "value": 4.6}
        # , "9992C2": {"grade": "+-"
        #                     , "color": ""
        #                     , "value": 4.6}


        , "9DA7C8": {"grade": "+"
            , "color": ""
            , "value": 4.8}
        , "204E94": {"grade": "+"
            , "color": ""
            , "value": 5.1}
    }, "PH": {
        "F5CB4C": {"grade": "-"
            , "color": ""
            , "value": 4.1}
        # ,"A79A34": {"grade": "-"
        #             , "color": ""
        #             , "value": 4.1}
        , "E7DC82": {"grade": "-"
            , "color": ""
            , "value": 4.4}


        , "C6C36F": {"grade": "+-"
            , "color": ""
            , "value": 4.6}

        # add
        # ,"8F9B21":{"grade": "+-"
        #     , "color": ""
        #     , "value": 4.6}


        , "97B25F": {"grade": "+"
            , "color": ""
            , "value": 4.8}
        # , "97AA57": {"grade": "+"
        #     , "color": ""
        #     , "value": 4.8}
        # , "43602C": {"grade": "+"
        #             , "color": ""
        #             , "value": 4.8}


        , "80B964": {"grade": "+"
            , "color": ""
            , "value": 5.1}
        , "87B656": {"grade": "+"
                    , "color": ""
                    , "value": 5.1}
        # , "3E5630": {"grade": "+"
        #                     , "color": ""
        #                     , "value": 5.1}
    }
}



STRATEGY = {
    "H2O2":{"use_type":"hsv:HV","use_fuc":"cos"},
    "LE":{"use_type":"yiq:I","use_fuc":"sqrt"},
    "SNA":{"use_type":"rgb:RGB","use_fuc":"cos"},
    "PIP":{"use_type":"hsv:SV","use_fuc":"cos"},
    "NAG":{"use_type":"hls:H","use_fuc":"cos"},


    #"OA":{"use_type":"yiq:YIQ","use_fuc":"cos"},
    "OA":{"use_type":"yiq:YIQ","use_fuc":"cos"},

    "PH":{"use_type":"rgb:RG","use_fuc":"cos"},
}


